const userInfo = 'userInfo'

export function getUserInfo() {
  return JSON.parse(localStorage.getItem(userInfo))
}

export function setUserInfo(userInfoValue) {
  localStorage.setItem(userInfo, JSON.stringify(userInfoValue))
}

export function removeUserInfo() {
  localStorage.removeItem(userInfo)
}
